local extension = Package:new("hanqing_group")
extension.extensionName = "hanqing"

extension:loadSkillSkelsByPath("./packages/hanqing/pkg/hanqing_group/skills")

Fk:loadTranslationTable{
  ["hanqing_group"] = "汗青·周赛",
}

General:new(extension, "pangjuan", "wei", 4):addSkills { "hanqing__huizheng", "hanqing__jiyu" }
Fk:loadTranslationTable{
  ["pangjuan"] = "庞涓",
  ["#pangjuan"] = "蜕芳化艾",
  ["illustrator:pangjuan"] = "六龙争霸",
  ["designer:pangjuan"] = "森伯十夜",
  ["cv:pangjuan"] = "cyc",

  ["~pangjuan"] = "恨不杀此刖夫！遂成竖子之名！",
}

General:new(extension, "niezheng", "ghan", 4):addSkills { "hanqing__fufeng", "hanqing__xiaoren" }
Fk:loadTranslationTable{
  ["niezheng"] = "聂政",
  ["#niezheng"] = "潜锋贯虹",
  ["illustrator:niezheng"] = "君临天下",
  ["designer:niezheng"] = "黄粱酒温梦",
}

General:new(extension, "xiangyan", "chu", 4):addSkills { "hanqing__juebing", "hanqing__funan" }
Fk:loadTranslationTable{
  ["xiangyan"] = "项燕",
  ["#xiangyan"] = "屹垣",
  ["illustrator:xiangyan"] = "啪啪三国",
  ["designer:xiangyan"] = "猪",
}

General:new(extension, "guowei", "yan", 3):addSkills { "hanqing__qiuxian", "hanqing__mashuo" }
Fk:loadTranslationTable{
  ["guowei"] = "郭隗",
  ["#guowei"] = "列师东台",
  ["illustrator:guowei"] = "六龙争霸",
  ["designer:guowei"] = "屑",
}

local tiandan = General:new(extension, "tiandan", "qi", 4)
tiandan:addSkills { "hanqing__liaowei" }
tiandan.endnote = "<br><font color='grey' size = 2>鼓讁奔牛亦壮哉，一城力挽众城回。<br>谁知辟士明封赏，即墨曾经培养来。<br>——徐钧"
Fk:loadTranslationTable{
  ["tiandan"] = "田单",
  ["#tiandan"] = "焱犖犨犇",
  ["illustrator:tiandan"] = "六龙争霸",
  ["designer:tiandan"] = "屑",
  ["cv:tiandan"] = "st",

  ["~tiandan"] = "宗庙亡矣！云曰尚矣！归于何党矣！",
  ["!tiandan"] = "五里城郭，败亡余卒，将士奋臂，可破万乘之燕。",
}

General:new(extension, "fengting", "ghan", 4):addSkills { "hanqing__yinjiu", "hanqing__xiandang" }
Fk:loadTranslationTable{
  ["fengting"] = "冯亭",
  ["#fengting"] = "孤舟挑浪",
  ["illustrator:fengting"] = "幻想帝王",
  ["designer:fengting"] = "森伯十夜",
  ["cv:fengting"] = "复瞳",

  ["~fengting"] = "舍劲弩而重权术，祸终至矣！",
}

General:new(extension, "ganluo", "qin", 3):addSkills { "hanqing__qiaoqu", "hanqing__heyan", "hanqing__lingse" }
Fk:loadTranslationTable{
  ["ganluo"] = "甘罗",
  ["#ganluo"] = "阙局定仙",
  ["illustrator:ganluo"] = "啪啪三国",
  ["designer:ganluo"] = "秀丽",
}

General:new(extension, "lidui", "zhao", 3):addSkills { "hanqing__piaojin", "hanqing__xiejin" }
Fk:loadTranslationTable{
  ["lidui"] = "李兑",
  ["#lidui"] = "呲权弄脊",
  ["illustrator:lidui"] = "鸿图之下",
  ["designer:lidui"] = "屑",
  ["cv:lidui"] = "折翼",

  ["~lidui"] = "闻在隐，我在野……",
}

General:new(extension, "maosui", "zhao", 3):addSkills { "hanqing__zhuishe", "hanqing__pojue" }
Fk:loadTranslationTable{
  ["maosui"] = "毛遂",
  ["#maosui"] = "三寸栗万师",
  ["illustrator:maosui"] = "六龙争霸",
  ["designer:maosui"] = "白驹",
}

General:new(extension, "liyuan", "chu", 3):addSkills { "hanqing__weiyi", "hanqing__xianfang" }
Fk:loadTranslationTable{
  ["liyuan"] = "李园",
  ["#liyuan"] = "雀歇袍梦",
  ["illustrator:liyuan"] = "M.J",
  ["designer:liyuan"] = "我来天地正秋风",
  ["cv:liyuan"] = "鸽",

  ["~liyuan"] = "不知常，妄作凶……",
  ["!liyuan"] = "移花接木谋划深，采芳撷蜜别有人。",
}

local recast = fk.CreateCard{
  name = "&hanqing__weiyi_recast",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeTreasure,
}
extension:loadCardSkels{recast}
extension:addCardSpec("hanqing__weiyi_recast")

General:new(extension, "hanqing__liyuan", "chu", 3):addSkills { "hanqing__xiaojing", "hanqing__anjian", "hanqing__wangzai" }
Fk:loadTranslationTable{
  ["hanqing__liyuan"] = "李园",
  ["#hanqing__liyuan"] = "狈嗅胎蛟",
  ["illustrator:hanqing__liyuan"] = "M.J",
  ["designer:hanqing__liyuan"] = "屑",
  ["cv:hanqing__liyuan"] = "英历",

  ["~hanqing__liyuan"] = "汝其至矣，汝其至矣…",
}

local fengxuan = General:new(extension, "fengxuan", "qi", 3)
fengxuan:addSkills { "hanqing__junshu", "hanqing__mingcha" }
fengxuan:addRelatedSkills { "hanqing__zhiheng" }
Fk:loadTranslationTable{
  ["fengxuan"] = "冯谖",
  ["#fengxuan"] = "披褐怀瑾",
  ["illustrator:fengxuan"] = "六龙争霸",
  ["designer:fengxuan"] = "暗夜决彻",
}

General:new(extension, "houyingw", "wei", 3):addSkills { "hanqing__duofu", "hanqing__lianyingh" }
Fk:loadTranslationTable{
  ["houyingw"] = "侯嬴",
  ["#houyingw"] = "君北尘喃",
  ["illustrator:houyingw"] = "六龙争霸",
  ["designer:houyingw"] = "屑",
}

General:new(extension, "qinkai", "yan", 4):addSkills { "hanqing__nafeng" }
Fk:loadTranslationTable{
  ["qinkai"] = "秦开",
  ["#qinkai"] = "抟旋千里",
  ["illustrator:qinkai"] = "M.J",
  ["designer:qinkai"] = "易大剧",
}

local weiran = General:new(extension, "weiran", "qin", 4)
weiran:addSkills { "hanqing__panyun", "hanqing__yitu" }
weiran:addRelatedSkills { "hanqing__benghuai" }
Fk:loadTranslationTable{
  ["weiran"] = "魏冉",
  ["#weiran"] = "谲夜无疆",
  ["illustrator:weiran"] = "六龙争霸",
  ["designer:weiran"] = "屑",
  ["cv:weiran"] = "超绝天",

  ["~weiran"] = "于嗟乎，不承权舆！",
}

General:new(extension, "zhangliangh", "ghan", 3):addSkills { "hanqing__queque", "hanqing__huiqi", "hanqing__jieyun" }
Fk:loadTranslationTable{
  ["zhangliangh"] = "张良",
  ["#zhangliangh"] = "博浪惊锋",
  ["illustrator:zhangliangh"] = "带带小师弟&热干面",
  ["designer:zhangliangh"] = "屑",
}

General:new(extension, "junwanghou", "qi", 3, 3, General.Female):addSkills { "hanqing__shihuan", "hanqing__xianyi" }
Fk:loadTranslationTable{
  ["junwanghou"] = "君王后",
  ["#junwanghou"] = "翗羽浴红",
  ["illustrator:junwanghou"] = "啪啪三国",
  ["designer:junwanghou"] = "yyuaN",
}

General:new(extension, "yuqing", "zhao", 3):addSkills { "hanqing__zhilun", "hanqing__duishui", "hanqing__nieqiao" }
Fk:loadTranslationTable{
  ["yuqing"] = "虞卿",
  ["#yuqing"] = "蹑蹻檐簦",
  ["illustrator:yuqing"] = "六龙争霸",
  ["designer:yuqing"] = "暗夜决彻",
}

General:new(extension, "ximenbao", "wei", 4):addSkills { "hanqing__zhiye", "hanqing__minxin" }
Fk:loadTranslationTable{
  ["ximenbao"] = "西门豹",
  ["#ximenbao"] = "浚源渠清",
  ["illustrator:ximenbao"] = "六龙争霸",
  ["designer:ximenbao"] = "猫",
}

General:new(extension, "qinwuyang", "yan", 5):addSkills { "hanqing__bawu", "hanqing__weijie" }
Fk:loadTranslationTable{
  ["qinwuyang"] = "秦舞阳",
  ["#qinwuyang"] = "勇穷忤现",
  ["illustrator:qinwuyang"] = "六龙争霸",
  ["designer:qinwuyang"] = "小叶子",
}

General:new(extension, "baoyuan", "ghan", 4):addSkills { "hanqing__wuhe", "hanqing__lihui" }
Fk:loadTranslationTable{
  ["baoyuan"] = "暴鸢",
  ["#baoyuan"] = "碎礁峙潮",
  ["illustrator:baoyuan"] = "六龙争霸",
  ["designer:baoyuan"] = "食饿不赦",
}

local godtiandan = General:new(extension, "godtiandan", "god", 4)
godtiandan:addSkills { "hanqing__chimai", "hanqing__duangu", "hanqing__cuipo" }
godtiandan.endnote = "<br><font color='grey' size = 2>赤焰烧虏云，炎氛蒸塞空。<br>——岑参"
Fk:loadTranslationTable{
  ["godtiandan"] = "神田单",
  ["#godtiandan"] = "燎世的残炬",
  ["illustrator:godtiandan"] = "Sier",
  ["designer:godtiandan"] = "食饿不赦",
}

local weapon__duangu = fk.CreateCard{
  name = "&weapon__hanqing__duangu",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeWeapon,
}
extension:loadCardSkels{weapon__duangu}
extension:addCardSpec("weapon__hanqing__duangu")

local armor__duangu = fk.CreateCard{
  name = "&armor__hanqing__duangu",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeArmor,
}
extension:loadCardSkels{armor__duangu}
extension:addCardSpec("armor__hanqing__duangu")

local offensive_horse__duangu = fk.CreateCard{
  name = "&offensive_horse__hanqing__duangu",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeOffensiveRide,
}
extension:loadCardSkels{offensive_horse__duangu}
extension:addCardSpec("offensive_horse__hanqing__duangu")

local defensive_horse__duangu = fk.CreateCard{
  name = "&defensive_horse__hanqing__duangu",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeDefensiveRide,
}
extension:loadCardSkels{defensive_horse__duangu}
extension:addCardSpec("defensive_horse__hanqing__duangu")

local treasure__duangu = fk.CreateCard{
  name = "&treasure__hanqing__duangu",
  type = Card.TypeEquip,
  sub_type = Card.SubtypeTreasure,
}
extension:loadCardSkels{treasure__duangu}
extension:addCardSpec("treasure__hanqing__duangu")
Fk:loadTranslationTable{
  ["weapon__hanqing__duangu"] = "锻骨",
  ["armor__hanqing__duangu"] = "锻骨",
  ["offensive_horse__hanqing__duangu"] = "锻骨",
  ["defensive_horse__hanqing__duangu"] = "锻骨",
  ["treasure__hanqing__duangu"] = "锻骨",
}

local zhaoshe = General:new(extension, "zhaoshe", "zhao", 4)
zhaoshe:addSkills { "hanqing__danjin" }
zhaoshe.endnote = "<br><font color='grey' size = 2>北山据险最能兵，中外俱闻马服名。<br>满谓将门还出将，不知有子误长平。<br>——徐钧"
Fk:loadTranslationTable{
  ["zhaoshe"] = "赵奢",
  ["#zhaoshe"] = "勇者独譬",
  ["illustrator:zhaoshe"] = "六龙争霸",
  ["designer:zhaoshe"] = "屑",
}

General:new(extension, "tiandi", "qi", 4):addSkills { "hanqing__siwang", "hanqing__juyuan", "hanqing__jianzun" }
Fk:loadTranslationTable{
  ["tiandi"] = "田地",
  ["#tiandi"] = "兴衰两极",
  ["illustrator:tiandi"] = "油渣道人",
  ["designer:tiandi"] = "静谦",
}

local yueyi = General:new(extension, "yueyi", "yan", 4)
yueyi:addSkills { "hanqing__lianke" }
yueyi.endnote = "<br><font color='grey' size = 2>七十城收一笑间，当时气势擅强燕。<br>区区莒墨何难下，自是君王不永年。<br>——徐钧"
Fk:loadTranslationTable{
  ["yueyi"] = "乐毅",
  ["#yueyi"] = "高翥棲迟",
  ["illustrator:yueyi"] = "六龙争霸",
  ["designer:yueyi"] = "老酒馆的猫",
}

General:new(extension, "naochi", "chu", 4):addSkills { "hanqing__zhedai", "hanqing__tuwei" }
Fk:loadTranslationTable{
  ["naochi"] = "淖齿",
  ["#naochi"] = "啄鼎之鹫",
  ["illustrator:naochi"] = "君临天下",
  ["designer:naochi"] = "Miss",
}

General:new(extension, "zouji", "qi", 3):addSkills { "hanqing__kuangque", "hanqing__jigou" }
Fk:loadTranslationTable{
  ["zouji"] = "邹忌",
  ["#zouji"] = "觊玉何辜",
  ["illustrator:zouji"] = "六龙争霸",
  ["designer:zouji"] = "劉星壹閃",
}

General:new(extension, "yingdang", "qin", 5):addSkills { "hanqing__qingdin", "hanqing__aokua" }
Fk:loadTranslationTable{
  ["yingdang"] = "嬴荡",
  ["#yingdang"] = "虚妄的霸业",
  ["illustrator:yingdang"] = "打卤面",
  ["designer:yingdang"] = "暗夜决彻",
}

General:new(extension, "ruji", "wei", 3, 3, General.Female):addSkills { "hanqing__qiefu", "hanqing__yichou" }
Fk:loadTranslationTable{
  ["ruji"] = "如姬",
  ["#ruji"] = "念恩笃义",
  ["illustrator:ruji"] = "打卤面",
  ["designer:ruji"] = "司马希希",
}

local liudehua = General:new(extension, "liudehua", "god", 4)
liudehua:addSkills { "hanqing__chunrijishi", "hanqing__jiuquxinfu" }
liudehua:addRelatedSkills { "hanqing__fenyin", "paoxiao" }
Fk:loadTranslationTable{
  ["liudehua"] = "刘德华",
  ["#liudehua"] = "恭喜发财",
  ["illustrator:liudehua"] = "刘德华",
  ["designer:liudehua"] = "我来天地正秋风",
  ["cv:liudehua"] = "刘德华",
}

--General:new(extension, "fanli", "god", 4):addSkills { "hanqing__zhaocai", "hanqing__jinbao" }
Fk:loadTranslationTable{
  ["fanli"] = "范蠡",
  ["#fanli"] = "文财神",
  ["illustrator:fanli"] = "错落宇宙",
  ["designer:fanli"] = "Charon",
  ["hanqing__zhaocai"] = "招财",
  [":hanqing__zhaocai"] = "锁定技，你有一个专属你的弃牌堆和初始没有牌的牌堆，角色执行弃牌操作时可改为弃置于你的弃牌堆。"..
  "你的回合开始时，你的弃牌堆洗牌并置入你的牌堆，然后你视为使用一张【大吉大利】。",
  ["hanqing__jinbao"] = "进宝",
  [":hanqing__jinbao"] = "轮次开始时，你可以令上轮将牌弃入你弃牌堆唯一最多/第二多/第三多的角色摸三/两/一张牌；"..
  "然后若所有角色均已执行过摸三张牌的选项，所有角色胜利。",
}

General:new(extension, "baigui", "wei", 3):addSkills { "hanqing__shishi", "hanqing__bingde", "hanqing__jugu" }
Fk:loadTranslationTable{
  ["baigui"] = "白圭",
  ["#baigui"] = "商祖",
  ["illustrator:baigui"] = "日替内室",
  ["designer:baigui"] = "屑",
}

General:new(extension, "laoai", "qin", 3):addSkills { "hanqing__gouchong", "hanqing__anjianl" }
Fk:loadTranslationTable{
  ["laoai"] = "嫪毐",
  ["#laoai"] = "异大具",
  ["illustrator:laoai"] = "六龙争霸",
  ["designer:laoai"] = "静谦",
}

local liubang = General:new(extension, "liubang", "chu", 4)
liubang.hidden = true
liubang:addSkills { "hanqing__weiqianlong", "hanqing__dulishan" }
liubang:addRelatedSkills { "tianyi", "zhiba", "vd_dongcha", "vd_sheshen" }
Fk:loadTranslationTable{
  ["liubang"] = "刘邦",
  ["#liubang"] = "堪笑群雄",
  ["illustrator:liubang"] = "豪杰成长计划",
  ["designer:liubang"] = "易大剧",
}

local liubang2 = General:new(extension, "hanqing__liubang", "chu", 4)
liubang2:addSkills { "hanqing__zhanshe", "hanqing__chidi" }
liubang2:addRelatedSkills { "guixin" }
Fk:loadTranslationTable{
  ["hanqing__liubang"] = "刘邦",
  ["#hanqing__liubang"] = "赤霄荡秦",
  ["designer:hanqing__liubang"] = "续约",
}

return extension
